home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
IRIX Base Documentation 1998 November
/
IRIX 6.5.2 Base Documentation November 1998.img
/
usr
/
share
/
catman
/
p_man
/
cat3
/
ifl
/
iflDictionary.z
/
iflDictionary
Wrap
Text File
|
1998-10-20
|
4KB
|
133 lines
iiiiffffllllDDDDiiiiccccttttiiiioooonnnnaaaarrrryyyy((((3333)))) IIIImmmmaaaaggggeeee FFFFoooorrrrmmmmaaaatttt LLLLiiiibbbbrrrraaaarrrryyyy CCCC++++++++ RRRReeeeffffeeeerrrreeeennnncccceeee MMMMaaaannnnuuuuaaaallll iiiiffffllllDDDDiiiiccccttttiiiioooonnnnaaaarrrryyyy((((3333))))
NNNNAAAAMMMMEEEE
iiiiffffllllDDDDiiiiccccttttiiiioooonnnnaaaarrrryyyy - implements a dictionary of named elements
IIIINNNNHHHHEEEERRRRIIIITTTTSSSS FFFFRRRROOOOMMMM
iflHashTable
HHHHEEEEAAAADDDDEEEERRRR FFFFIIIILLLLEEEE
#include <ifl/iflDictionary.h>
CCCCLLLLAAAASSSSSSSS DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
iflDictionary is used to create a dictionary of named elements. It is
derived from iflHashTable, and supplies appropriate hash function and key
matching methods for name strings. The elements of the dictionary must
be, or be derived from, iflName.
CCCCLLLLAAAASSSSSSSS MMMMEEEEMMMMBBBBEEEERRRR FFFFUUUUNNNNCCCCTTTTIIIIOOOONNNN SSSSUUUUMMMMMMMMAAAARRRRYYYY
CCCCoooonnnnssssttttrrrruuuuccccttttoooorrrr
iflDictionary(int size=0, int caseSensitive=TRUE)
IIIInnnnsssseeeerrrrtttt////ffffiiiinnnndddd ddddiiiiccccttttiiiioooonnnnaaaarrrryyyy eeeennnnttttrrrriiiieeeessss
int insert(iflName* elem)
iflName* find(const char* s, int insertIfNeeded=FALSE)
FFFFUUUUNNNNCCCCTTTTIIIIOOOONNNN DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNNSSSS
iiiiffffllllDDDDiiiiccccttttiiiioooonnnnaaaarrrryyyy(((())))
iflDictionary(int size=0, int caseSensitive=TRUE)
Creates an iflDictionary with initial capacity, _s_i_z_e. The default
value of zero creates a table with 131 slots. The name lookup can
either be case-sensitive or case-insensitive, depending on whether
_c_a_s_e_S_e_n_s_i_t_i_v_e it TRUE or FALSE, respectively.
ffffiiiinnnndddd(((())))
iflName* find(const char* s, int insertIfNeeded=FALSE)
Tries to locate the element with name string _s in the dictionary. If
unsuccessful and if _i_n_s_e_r_t_I_f_N_e_e_d_e_d is TRUE then an element of type
iflName, with name string _s, is inserted into the dictionary, a
value of NULL is returned otherwise.
iiiinnnnsssseeeerrrrtttt(((())))
int insert(iflName* elem)
PPPPaaaaggggeeee 1111
iiiiffffllllDDDDiiiiccccttttiiiioooonnnnaaaarrrryyyy((((3333)))) IIIImmmmaaaaggggeeee FFFFoooorrrrmmmmaaaatttt LLLLiiiibbbbrrrraaaarrrryyyy CCCC++++++++ RRRReeeeffffeeeerrrreeeennnncccceeee MMMMaaaannnnuuuuaaaallll iiiiffffllllDDDDiiiiccccttttiiiioooonnnnaaaarrrryyyy((((3333))))
Returns TRUE if _e_l_e_m is successfully inserted into the dictionary;
FALSE otherwise.
IIIINNNNHHHHEEEERRRRIIIITTTTEEEEDDDD MMMMEEEEMMMMBBBBEEEERRRR FFFFUUUUNNNNCCCCTTTTIIIIOOOONNNNSSSS
IIIInnnnhhhheeeerrrriiiitttteeeedddd ffffrrrroooommmm iiiiffffllllHHHHaaaasssshhhhTTTTaaaabbbblllleeee
clear(), find(), getFullFraction(), insert(), match(), next(), remove(),
setFullFraction()
SSSSEEEEEEEE AAAALLLLSSSSOOOO
iflHashTable, iflName
PPPPaaaaggggeeee 2222